package com.jy.adscm.operation.purchase.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * bom清单表
 * </p>
 *
 * @author lzf
 * @since 2019-05-14
 */
@Data
public class Purchasebom implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 物料编码
     */
    private String code;
    /**
     * 物料名称
     */
    private String name;

    private String no;

    /**
     * 规格型号
     */
    private String specification;
    /**
     * 管理等级
     */
    private String texture;
    @TableField("signedPerson")
    private String signedPerson;
    @TableField("parentId5")
    private Integer parentId5;
    @TableField("signedTime")
    private Date signedTime;
    private Integer rank;
    /**
     * 图号
     */
    @TableField("figureNum")
    private String figureNum;
    @TableField("parentId2")
    private String parentId2;
    @TableField("parentId3")
    private String parentId3;
    @TableField("parentId4")
    private String parentId4;
    @TableField("parentId")
    private Integer parentId;
    private Integer nums;
    @TableField("parentId1")
    private Integer parentId1;
    @TableField("bomName")
    private String bomName;

    @TableField("machineType")
    private String machineType;
    @TableField(exist = false)
    private List<Purchasebom> children;


}
